﻿@model GameSite.Models.DownLoad
@{
    Layout = "~/Views/Shared/_DownloadLayout.cshtml";
}
@section LeftSideBar{
    <div class="tile">
        <a href="@Html.DisplayFor(model => model.StoreUrl)">
            <img class="tile-image big-illustration" src="@Html.DisplayFor(model => model.ImageUrl)" />
        </a>
        <h3 class="tile-title">@Html.DisplayFor(model => model.Name)</h3>
        <a class="btn btn-primary btn-large btn-block" href="@Html.DisplayFor(model => model.StoreUrl)" target="_blank">
            到应用商店查看 </a>
        <table class="table">
            <tr>
                <th>
                    平台:
                </th>
                <td>@Html.DisplayFor(model => model.PlatForm)
                </td>
            </tr>
            <tr>
                <th>
                    更新:
                </th>
                <td>@Html.DisplayFor(model => model.DispLastUpdateTime)
                </td>
            </tr>
            <tr>
                <th>
                    版本:
                </th>
                <td>@Html.DisplayFor(model => model.Version)
                </td>
            </tr>
            <tr>
                <th>
                    大小:
                </th>
                <td>@Html.DisplayFor(model => model.DispSize)
                </td>
            </tr>
            <tr>
                <th>
                    费用:
                </th>
                <td>@Html.DisplayFor(model => model.DispPrice)
                </td>
            </tr>
        </table>
    </div>
}
<div class="span8">
    <h3 class="demo-panel-title">
        @Html.DisplayFor(model => model.Name)
    </h3>
    <h6 class="palette-headline">
        内容提要
    </h6>
    <p class="palette-paragraph">
        @Html.Raw(Model.Detail)
    </p>
    <h6 class="palette-headline">
        屏幕截图
    </h6>
    <p class="palette-paragraph">
        <div id="myCarousel" class="carousel slide">
            <div class="carousel-inner">
                @foreach (var item in Model.DispSlideImages)
                { 
                    <div class="item @(item == Model.DispSlideImages.First() ? "active" : "")">
                        <img src="@item" alt="" />
                        <div class="carousel-caption">
                        </div>
                    </div>
                }
            </div>
            <a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a> <a class="right carousel-control"
                href="#myCarousel" data-slide="next">›</a>
        </div>
    </p>
</div>
